using System;
using System.Web;
using System.Collections;
using System.Web.Services;
using System.Web.Services.Protocols;
using SmartSoft.DAL;
using System.Configuration;


/// <summary>
/// Summary description for WebService
/// </summary>
[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
public class WebService : System.Web.Services.WebService
{

    public WebService()
    {
        SSDataAccess.ConnectionString = ConfigurationManager.ConnectionStrings["Connection"].ConnectionString;
    }

    [WebMethod]
    public string Test(ref string testInput)
    {
        testInput += " Hello World";
        return testInput;
    }

    [WebMethod]
    public string GetVersion()
    {
        return "Hello World";
    }
}

